/**
 *@auther: tang
 *@Date: 2020-11-16
 *Project: group-booking-shop-manage-system
 */
import React from "react"
import { Tabs } from 'antd';
import StoreInfo from "./storeSetting/StoreInfo"
import BuySetting from "./storeSetting/BuySetting";
import GoodsSetting from "./storeSetting/GoodsSetting";
import ShowSetting from "./storeSetting/ShowSetting";
import InfoSetting from "./storeSetting/InfoSetting";
const { TabPane } = Tabs;
class StoreSetting extends React.Component {
    componentWillMount() {
        console.log(this.props)
    }
    tabOnChange(){
        console.log("tab")
    }
    render() {
        return (
            <div>
                    <Tabs defaultActiveKey="1" tabPosition="left">
                        <TabPane tab="商店信息" key="1">
                            <StoreInfo/>
                        </TabPane>
                        <TabPane tab="基本设置" key="2">
                            <InfoSetting/>
                        </TabPane>
                        <TabPane tab="显示设置" key="3">
                            <ShowSetting/>
                        </TabPane>
                        <TabPane tab="购物流程" key="4">
                            <BuySetting/>
                        </TabPane>
                        <TabPane tab="商品显示设置" key="5">
                            <GoodsSetting/>
                        </TabPane>
                    </Tabs>

            </div>
        )
    }
}

export {StoreSetting as default}
